package com.tao.mapper;


import com.tao.common.domain.pojo.MedicalRecord;
import com.tao.common.domain.pojo.Register;
import com.tao.common.domain.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AfterDiagnosisMapper {
    public List<Register> initPatients(User user);

    public List<Register> searchByName(Register register);

    public List<Register> searchByNumber(Register register);

    public MedicalRecord getRecord(MedicalRecord medicalRecord);

    public void commitEndPatient(Register register);

    public void commitEndMedicalRecord(MedicalRecord medicalRecord);
}
